import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
	
	public class screen {
		
		public static void main(String[] args) throws Exception {
			int width=(int)Toolkit.getDefaultToolkit().getScreenSize().getWidth();
			int height=(int)Toolkit.getDefaultToolkit().getScreenSize().getHeight();
			Robot r=new Robot();
			new View(r.createScreenCapture(new Rectangle(0, 0, width, height)));
		}
	}
	